<?xml version="1.0" encoding="UTF-8"?>
<!--

create table events_inprocess (
  user_id int,
  entity_id int,
  event_time timestamp
) distributed by (user_id);

create table impressions_raw (
  user_id int,
  ad_id int
) distributed by (user_id);

explain
select ei.user_id, ei.event_time, i.ad_id
from events_inprocess ei
left outer join impressions_raw i
on ei.user_id = i.user_id
and ei.entity_id  = i.ad_id;

-->
<dxl:DXLMessage xmlns:dxl="http://greenplum.com/dxl/2010/12/">
  <dxl:Thread Id="0">
    <dxl:OptimizerConfig>
      <dxl:EnumeratorConfig Id="0" PlanSamples="0" CostThreshold="0"/>
      <dxl:StatisticsConfig DampingFactorFilter="0.750000" DampingFactorJoin="0.010000" DampingFactorGroupBy="0.750000" MaxStatsBuckets="100"/>
      <dxl:CTEConfig CTEInliningCutoff="0"/> 
      <dxl:WindowOids RowNumber="7000" Rank="7001"/>
      <dxl:TraceFlags Value="103027,102024,102025,102045,102046,102115,102116,102117,102119,102121,103017"/>
    </dxl:OptimizerConfig>
    <dxl:Metadata SystemIds="0.GPDB">
      <dxl:GPDBScalarOp Mdid="0.97.1.0" Name="&lt;" ComparisonType="LT">
        <dxl:LeftType Mdid="0.23.1.0"/>
        <dxl:RightType Mdid="0.23.1.0"/>
        <dxl:ResultType Mdid="0.16.1.0"/>
        <dxl:OpFunc Mdid="0.66.1.0"/>
        <dxl:Commutator Mdid="0.521.1.0"/>
        <dxl:InverseOp Mdid="0.525.1.0"/>
      </dxl:GPDBScalarOp>
      <dxl:ColumnStatistics Mdid="1.17279045.1.1.9" Name="gp_segment_id" Width="4.000000" NullFreq="0.000000" NdvRemain="0.000000" FreqRemain="0.000000"/>
      <dxl:ColumnStatistics Mdid="1.17279045.1.1.8" Name="tableoid" Width="4.000000" NullFreq="0.000000" NdvRemain="0.000000" FreqRemain="0.000000"/>
      <dxl:ColumnStatistics Mdid="1.17279045.1.1.1" Name="entity_id" Width="8.000000" NullFreq="0.000000" NdvRemain="0.000000" FreqRemain="0.000000"/>
      <dxl:ColumnStatistics Mdid="1.17279045.1.1.0" Name="user_id" Width="8.000000" NullFreq="0.000000" NdvRemain="0.000000" FreqRemain="0.000000"/>
      <dxl:Type Mdid="0.16.1.0" Name="bool" IsRedistributable="true" IsHashable="true" IsMergeJoinable="true" IsComposite="false" IsFixedLength="true" Length="1" PassByValue="true">
        <dxl:EqualityOp Mdid="0.91.1.0"/>
        <dxl:InequalityOp Mdid="0.85.1.0"/>
        <dxl:LessThanOp Mdid="0.58.1.0"/>
        <dxl:LessThanEqualsOp Mdid="0.1694.1.0"/>
        <dxl:GreaterThanOp Mdid="0.59.1.0"/>
        <dxl:GreaterThanEqualsOp Mdid="0.1695.1.0"/>
        <dxl:ComparisonOp Mdid="0.1693.1.0"/>
        <dxl:ArrayType Mdid="0.1000.1.0"/>
        <dxl:MinAgg Mdid="0.0.0.0"/>
        <dxl:MaxAgg Mdid="0.0.0.0"/>
        <dxl:AvgAgg Mdid="0.0.0.0"/>
        <dxl:SumAgg Mdid="0.0.0.0"/>
        <dxl:CountAgg Mdid="0.2147.1.0"/>
      </dxl:Type>
      <dxl:Type Mdid="0.23.1.0" Name="int4" IsRedistributable="true" IsHashable="true" IsMergeJoinable="true" IsComposite="false" IsFixedLength="true" Length="4" PassByValue="true">
        <dxl:EqualityOp Mdid="0.96.1.0"/>
        <dxl:InequalityOp Mdid="0.518.1.0"/>
        <dxl:LessThanOp Mdid="0.97.1.0"/>
        <dxl:LessThanEqualsOp Mdid="0.523.1.0"/>
        <dxl:GreaterThanOp Mdid="0.521.1.0"/>
        <dxl:GreaterThanEqualsOp Mdid="0.525.1.0"/>
        <dxl:ComparisonOp Mdid="0.351.1.0"/>
        <dxl:ArrayType Mdid="0.1007.1.0"/>
        <dxl:MinAgg Mdid="0.2132.1.0"/>
        <dxl:MaxAgg Mdid="0.2116.1.0"/>
        <dxl:AvgAgg Mdid="0.2101.1.0"/>
        <dxl:SumAgg Mdid="0.2108.1.0"/>
        <dxl:CountAgg Mdid="0.2147.1.0"/>
      </dxl:Type>
      <dxl:Type Mdid="0.26.1.0" Name="oid" IsRedistributable="true" IsHashable="true" IsMergeJoinable="true" IsComposite="false" IsFixedLength="true" Length="4" PassByValue="true">
        <dxl:EqualityOp Mdid="0.607.1.0"/>
        <dxl:InequalityOp Mdid="0.608.1.0"/>
        <dxl:LessThanOp Mdid="0.609.1.0"/>
        <dxl:LessThanEqualsOp Mdid="0.611.1.0"/>
        <dxl:GreaterThanOp Mdid="0.610.1.0"/>
        <dxl:GreaterThanEqualsOp Mdid="0.612.1.0"/>
        <dxl:ComparisonOp Mdid="0.356.1.0"/>
        <dxl:ArrayType Mdid="0.1028.1.0"/>
        <dxl:MinAgg Mdid="0.2118.1.0"/>
        <dxl:MaxAgg Mdid="0.2134.1.0"/>
        <dxl:AvgAgg Mdid="0.0.0.0"/>
        <dxl:SumAgg Mdid="0.0.0.0"/>
        <dxl:CountAgg Mdid="0.2147.1.0"/>
      </dxl:Type>
      <dxl:Type Mdid="0.27.1.0" Name="tid" IsRedistributable="true" IsHashable="false" IsMergeJoinable="false" IsComposite="false" IsFixedLength="true" Length="6" PassByValue="false">
        <dxl:EqualityOp Mdid="0.387.1.0"/>
        <dxl:InequalityOp Mdid="0.402.1.0"/>
        <dxl:LessThanOp Mdid="0.2799.1.0"/>
        <dxl:LessThanEqualsOp Mdid="0.2801.1.0"/>
        <dxl:GreaterThanOp Mdid="0.2800.1.0"/>
        <dxl:GreaterThanEqualsOp Mdid="0.2802.1.0"/>
        <dxl:ComparisonOp Mdid="0.2794.1.0"/>
        <dxl:ArrayType Mdid="0.1010.1.0"/>
        <dxl:MinAgg Mdid="0.2798.1.0"/>
        <dxl:MaxAgg Mdid="0.2797.1.0"/>
        <dxl:AvgAgg Mdid="0.0.0.0"/>
        <dxl:SumAgg Mdid="0.0.0.0"/>
        <dxl:CountAgg Mdid="0.2147.1.0"/>
      </dxl:Type>
      <dxl:Type Mdid="0.29.1.0" Name="cid" IsRedistributable="false" IsHashable="true" IsMergeJoinable="false" IsComposite="false" IsFixedLength="true" Length="4" PassByValue="true">
        <dxl:EqualityOp Mdid="0.385.1.0"/>
        <dxl:InequalityOp Mdid="0.0.0.0"/>
        <dxl:LessThanOp Mdid="0.0.0.0"/>
        <dxl:LessThanEqualsOp Mdid="0.0.0.0"/>
        <dxl:GreaterThanOp Mdid="0.0.0.0"/>
        <dxl:GreaterThanEqualsOp Mdid="0.0.0.0"/>
        <dxl:ComparisonOp Mdid="0.0.0.0"/>
        <dxl:ArrayType Mdid="0.1012.1.0"/>
        <dxl:MinAgg Mdid="0.0.0.0"/>
        <dxl:MaxAgg Mdid="0.0.0.0"/>
        <dxl:AvgAgg Mdid="0.0.0.0"/>
        <dxl:SumAgg Mdid="0.0.0.0"/>
        <dxl:CountAgg Mdid="0.2147.1.0"/>
      </dxl:Type>
      <dxl:Type Mdid="0.28.1.0" Name="xid" IsRedistributable="false" IsHashable="true" IsMergeJoinable="false" IsComposite="false" IsFixedLength="true" Length="4" PassByValue="true">
        <dxl:EqualityOp Mdid="0.352.1.0"/>
        <dxl:InequalityOp Mdid="0.0.0.0"/>
        <dxl:LessThanOp Mdid="0.0.0.0"/>
        <dxl:LessThanEqualsOp Mdid="0.0.0.0"/>
        <dxl:GreaterThanOp Mdid="0.0.0.0"/>
        <dxl:GreaterThanEqualsOp Mdid="0.0.0.0"/>
        <dxl:ComparisonOp Mdid="0.0.0.0"/>
        <dxl:ArrayType Mdid="0.1011.1.0"/>
        <dxl:MinAgg Mdid="0.0.0.0"/>
        <dxl:MaxAgg Mdid="0.0.0.0"/>
        <dxl:AvgAgg Mdid="0.0.0.0"/>
        <dxl:SumAgg Mdid="0.0.0.0"/>
        <dxl:CountAgg Mdid="0.2147.1.0"/>
      </dxl:Type>
      <dxl:ColumnStatistics Mdid="1.17279071.1.1.5" Name="xmax" Width="4.000000" NullFreq="0.000000" NdvRemain="0.000000" FreqRemain="0.000000"/>
      <dxl:ColumnStatistics Mdid="1.17279071.1.1.4" Name="cmin" Width="4.000000" NullFreq="0.000000" NdvRemain="0.000000" FreqRemain="0.000000"/>
      <dxl:ColumnStatistics Mdid="1.17279045.1.1.3" Name="ctid" Width="6.000000" NullFreq="0.000000" NdvRemain="0.000000" FreqRemain="0.000000"/>
      <dxl:ColumnStatistics Mdid="1.17279045.1.1.2" Name="event_time" Width="8.000000" NullFreq="0.000000" NdvRemain="0.000000" FreqRemain="0.000000"/>
      <dxl:ColumnStatistics Mdid="1.17279071.1.1.7" Name="tableoid" Width="4.000000" NullFreq="0.000000" NdvRemain="0.000000" FreqRemain="0.000000"/>
      <dxl:ColumnStatistics Mdid="1.17279071.1.1.6" Name="cmax" Width="4.000000" NullFreq="0.000000" NdvRemain="0.000000" FreqRemain="0.000000"/>
      <dxl:RelationStatistics Mdid="2.17279045.1.1" Name="events_inprocess" Rows="0.000000" EmptyRelation="true"/>
      <dxl:Relation Mdid="6.17279045.1.1" Name="events_inprocess" IsTemporary="false" HasOids="false" StorageType="Heap" DistributionPolicy="Hash" DistributionColumns="0" Keys="9,3">
        <dxl:Columns>
          <dxl:Column Name="user_id" Attno="1" Mdid="0.23.1.0" Nullable="true" ColWidth="4">
            <dxl:DefaultValue/>
          </dxl:Column>
          <dxl:Column Name="entity_id" Attno="2" Mdid="0.23.1.0" Nullable="true" ColWidth="4">
            <dxl:DefaultValue/>
          </dxl:Column>
          <dxl:Column Name="event_time" Attno="3" Mdid="0.1114.1.0" Nullable="true" ColWidth="8">
            <dxl:DefaultValue/>
          </dxl:Column>
          <dxl:Column Name="ctid" Attno="-1" Mdid="0.27.1.0" Nullable="false" ColWidth="6">
            <dxl:DefaultValue/>
          </dxl:Column>
          <dxl:Column Name="xmin" Attno="-3" Mdid="0.28.1.0" Nullable="false" ColWidth="4">
            <dxl:DefaultValue/>
          </dxl:Column>
          <dxl:Column Name="cmin" Attno="-4" Mdid="0.29.1.0" Nullable="false" ColWidth="4">
            <dxl:DefaultValue/>
          </dxl:Column>
          <dxl:Column Name="xmax" Attno="-5" Mdid="0.28.1.0" Nullable="false" ColWidth="4">
            <dxl:DefaultValue/>
          </dxl:Column>
          <dxl:Column Name="cmax" Attno="-6" Mdid="0.29.1.0" Nullable="false" ColWidth="4">
            <dxl:DefaultValue/>
          </dxl:Column>
          <dxl:Column Name="tableoid" Attno="-7" Mdid="0.26.1.0" Nullable="false" ColWidth="4">
            <dxl:DefaultValue/>
          </dxl:Column>
          <dxl:Column Name="gp_segment_id" Attno="-8" Mdid="0.23.1.0" Nullable="false" ColWidth="4">
            <dxl:DefaultValue/>
          </dxl:Column>
        </dxl:Columns>
        <dxl:IndexInfoList/>
        <dxl:Triggers/>
        <dxl:CheckConstraints/>
      </dxl:Relation>
      <dxl:ColumnStatistics Mdid="1.17279045.1.1.5" Name="cmin" Width="4.000000" NullFreq="0.000000" NdvRemain="0.000000" FreqRemain="0.000000"/>
      <dxl:ColumnStatistics Mdid="1.17279045.1.1.4" Name="xmin" Width="4.000000" NullFreq="0.000000" NdvRemain="0.000000" FreqRemain="0.000000"/>
      <dxl:MDCast Mdid="3.23.1.0;23.1.0" Name="int4" BinaryCoercible="true" SourceTypeId="0.23.1.0" DestinationTypeId="0.23.1.0" CastFuncId="0.0.0.0"/>
      <dxl:RelationStatistics Mdid="2.17279071.1.1" Name="impressions_raw" Rows="0.000000" EmptyRelation="true"/>
      <dxl:Type Mdid="0.1114.1.0" Name="timestamp" IsRedistributable="true" IsHashable="true" IsMergeJoinable="true" IsComposite="false" IsFixedLength="true" Length="8" PassByValue="true">
        <dxl:EqualityOp Mdid="0.2060.1.0"/>
        <dxl:InequalityOp Mdid="0.2061.1.0"/>
        <dxl:LessThanOp Mdid="0.2062.1.0"/>
        <dxl:LessThanEqualsOp Mdid="0.2063.1.0"/>
        <dxl:GreaterThanOp Mdid="0.2064.1.0"/>
        <dxl:GreaterThanEqualsOp Mdid="0.2065.1.0"/>
        <dxl:ComparisonOp Mdid="0.2045.1.0"/>
        <dxl:ArrayType Mdid="0.1115.1.0"/>
        <dxl:MinAgg Mdid="0.2142.1.0"/>
        <dxl:MaxAgg Mdid="0.2126.1.0"/>
        <dxl:AvgAgg Mdid="0.0.0.0"/>
        <dxl:SumAgg Mdid="0.0.0.0"/>
        <dxl:CountAgg Mdid="0.2147.1.0"/>
      </dxl:Type>
      <dxl:Relation Mdid="6.17279071.1.1" Name="impressions_raw" IsTemporary="false" HasOids="false" StorageType="Heap" DistributionPolicy="Hash" DistributionColumns="0" Keys="8,2">
        <dxl:Columns>
          <dxl:Column Name="user_id" Attno="1" Mdid="0.23.1.0" Nullable="true" ColWidth="4">
            <dxl:DefaultValue/>
          </dxl:Column>
          <dxl:Column Name="ad_id" Attno="2" Mdid="0.23.1.0" Nullable="true" ColWidth="4">
            <dxl:DefaultValue/>
          </dxl:Column>
          <dxl:Column Name="ctid" Attno="-1" Mdid="0.27.1.0" Nullable="false" ColWidth="6">
            <dxl:DefaultValue/>
          </dxl:Column>
          <dxl:Column Name="xmin" Attno="-3" Mdid="0.28.1.0" Nullable="false" ColWidth="4">
            <dxl:DefaultValue/>
          </dxl:Column>
          <dxl:Column Name="cmin" Attno="-4" Mdid="0.29.1.0" Nullable="false" ColWidth="4">
            <dxl:DefaultValue/>
          </dxl:Column>
          <dxl:Column Name="xmax" Attno="-5" Mdid="0.28.1.0" Nullable="false" ColWidth="4">
            <dxl:DefaultValue/>
          </dxl:Column>
          <dxl:Column Name="cmax" Attno="-6" Mdid="0.29.1.0" Nullable="false" ColWidth="4">
            <dxl:DefaultValue/>
          </dxl:Column>
          <dxl:Column Name="tableoid" Attno="-7" Mdid="0.26.1.0" Nullable="false" ColWidth="4">
            <dxl:DefaultValue/>
          </dxl:Column>
          <dxl:Column Name="gp_segment_id" Attno="-8" Mdid="0.23.1.0" Nullable="false" ColWidth="4">
            <dxl:DefaultValue/>
          </dxl:Column>
        </dxl:Columns>
        <dxl:IndexInfoList/>
        <dxl:Triggers/>
        <dxl:CheckConstraints/>
      </dxl:Relation>
      <dxl:ColumnStatistics Mdid="1.17279071.1.1.8" Name="gp_segment_id" Width="4.000000" NullFreq="0.000000" NdvRemain="0.000000" FreqRemain="0.000000"/>
      <dxl:ColumnStatistics Mdid="1.17279071.1.1.1" Name="ad_id" Width="8.000000" NullFreq="0.000000" NdvRemain="0.000000" FreqRemain="0.000000"/>
      <dxl:ColumnStatistics Mdid="1.17279071.1.1.0" Name="user_id" Width="8.000000" NullFreq="0.000000" NdvRemain="0.000000" FreqRemain="0.000000"/>
      <dxl:GPDBScalarOp Mdid="0.96.1.0" Name="=" ComparisonType="Eq" ReturnsNullOnNullInput="true">
        <dxl:LeftType Mdid="0.23.1.0"/>
        <dxl:RightType Mdid="0.23.1.0"/>
        <dxl:ResultType Mdid="0.16.1.0"/>
        <dxl:OpFunc Mdid="0.65.1.0"/>
        <dxl:Commutator Mdid="0.96.1.0"/>
        <dxl:InverseOp Mdid="0.518.1.0"/>
        <dxl:Opfamilies>
          <dxl:Opfamily Mdid="0.1978.1.0"/>
          <dxl:Opfamily Mdid="0.1979.1.0"/>
          <dxl:Opfamily Mdid="0.3027.1.0"/>
        </dxl:Opfamilies>
      </dxl:GPDBScalarOp>
      <dxl:ColumnStatistics Mdid="1.17279045.1.1.7" Name="cmax" Width="4.000000" NullFreq="0.000000" NdvRemain="0.000000" FreqRemain="0.000000"/>
      <dxl:ColumnStatistics Mdid="1.17279045.1.1.6" Name="xmax" Width="4.000000" NullFreq="0.000000" NdvRemain="0.000000" FreqRemain="0.000000"/>
      <dxl:ColumnStatistics Mdid="1.17279071.1.1.3" Name="xmin" Width="4.000000" NullFreq="0.000000" NdvRemain="0.000000" FreqRemain="0.000000"/>
      <dxl:ColumnStatistics Mdid="1.17279071.1.1.2" Name="ctid" Width="6.000000" NullFreq="0.000000" NdvRemain="0.000000" FreqRemain="0.000000"/>
    </dxl:Metadata>
    <dxl:Query>
      <dxl:OutputColumns>
        <dxl:Ident ColId="1" ColName="user_id" TypeMdid="0.23.1.0"/>
        <dxl:Ident ColId="3" ColName="event_time" TypeMdid="0.1114.1.0"/>
        <dxl:Ident ColId="12" ColName="ad_id" TypeMdid="0.23.1.0"/>
      </dxl:OutputColumns>
      <dxl:CTEList/>
      <dxl:LogicalJoin JoinType="Left">
        <dxl:LogicalGet>
          <dxl:TableDescriptor Mdid="6.17279045.1.1" TableName="events_inprocess">
            <dxl:Columns>
              <dxl:Column ColId="1" Attno="1" ColName="user_id" TypeMdid="0.23.1.0"/>
              <dxl:Column ColId="2" Attno="2" ColName="entity_id" TypeMdid="0.23.1.0"/>
              <dxl:Column ColId="3" Attno="3" ColName="event_time" TypeMdid="0.1114.1.0"/>
              <dxl:Column ColId="4" Attno="-1" ColName="ctid" TypeMdid="0.27.1.0"/>
              <dxl:Column ColId="5" Attno="-3" ColName="xmin" TypeMdid="0.28.1.0"/>
              <dxl:Column ColId="6" Attno="-4" ColName="cmin" TypeMdid="0.29.1.0"/>
              <dxl:Column ColId="7" Attno="-5" ColName="xmax" TypeMdid="0.28.1.0"/>
              <dxl:Column ColId="8" Attno="-6" ColName="cmax" TypeMdid="0.29.1.0"/>
              <dxl:Column ColId="9" Attno="-7" ColName="tableoid" TypeMdid="0.26.1.0"/>
              <dxl:Column ColId="10" Attno="-8" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
            </dxl:Columns>
          </dxl:TableDescriptor>
        </dxl:LogicalGet>
        <dxl:LogicalGet>
          <dxl:TableDescriptor Mdid="6.17279071.1.1" TableName="impressions_raw">
            <dxl:Columns>
              <dxl:Column ColId="11" Attno="1" ColName="user_id" TypeMdid="0.23.1.0"/>
              <dxl:Column ColId="12" Attno="2" ColName="ad_id" TypeMdid="0.23.1.0"/>
              <dxl:Column ColId="13" Attno="-1" ColName="ctid" TypeMdid="0.27.1.0"/>
              <dxl:Column ColId="14" Attno="-3" ColName="xmin" TypeMdid="0.28.1.0"/>
              <dxl:Column ColId="15" Attno="-4" ColName="cmin" TypeMdid="0.29.1.0"/>
              <dxl:Column ColId="16" Attno="-5" ColName="xmax" TypeMdid="0.28.1.0"/>
              <dxl:Column ColId="17" Attno="-6" ColName="cmax" TypeMdid="0.29.1.0"/>
              <dxl:Column ColId="18" Attno="-7" ColName="tableoid" TypeMdid="0.26.1.0"/>
              <dxl:Column ColId="19" Attno="-8" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
            </dxl:Columns>
          </dxl:TableDescriptor>
        </dxl:LogicalGet>
        <dxl:And>
          <dxl:Comparison ComparisonOperator="=" OperatorMdid="0.96.1.0">
            <dxl:Ident ColId="1" ColName="user_id" TypeMdid="0.23.1.0"/>
            <dxl:Ident ColId="11" ColName="user_id" TypeMdid="0.23.1.0"/>
          </dxl:Comparison>
          <dxl:Comparison ComparisonOperator="=" OperatorMdid="0.96.1.0">
            <dxl:Ident ColId="2" ColName="entity_id" TypeMdid="0.23.1.0"/>
            <dxl:Ident ColId="12" ColName="ad_id" TypeMdid="0.23.1.0"/>
          </dxl:Comparison>
        </dxl:And>
      </dxl:LogicalJoin>
    </dxl:Query>
    <dxl:Plan Id="0" SpaceSize="3034">
      <dxl:GatherMotion InputSegments="0,1" OutputSegments="-1">
        <dxl:Properties>
          <dxl:Cost StartupCost="0" TotalCost="2586.003103" Rows="2.000000" Width="24"/>
        </dxl:Properties>
        <dxl:ProjList>
          <dxl:ProjElem ColId="0" Alias="user_id">
            <dxl:Ident ColId="0" ColName="user_id" TypeMdid="0.23.1.0"/>
          </dxl:ProjElem>
          <dxl:ProjElem ColId="2" Alias="event_time">
            <dxl:Ident ColId="2" ColName="event_time" TypeMdid="0.1114.1.0"/>
          </dxl:ProjElem>
          <dxl:ProjElem ColId="11" Alias="ad_id">
            <dxl:Ident ColId="11" ColName="ad_id" TypeMdid="0.23.1.0"/>
          </dxl:ProjElem>
        </dxl:ProjList>
        <dxl:Filter/>
        <dxl:SortingColumnList/>
        <dxl:Sequence>
          <dxl:Properties>
            <dxl:Cost StartupCost="0" TotalCost="2586.002887" Rows="2.000000" Width="24"/>
          </dxl:Properties>
          <dxl:ProjList>
            <dxl:ProjElem ColId="0" Alias="user_id">
              <dxl:Ident ColId="0" ColName="user_id" TypeMdid="0.23.1.0"/>
            </dxl:ProjElem>
            <dxl:ProjElem ColId="2" Alias="event_time">
              <dxl:Ident ColId="2" ColName="event_time" TypeMdid="0.1114.1.0"/>
            </dxl:ProjElem>
            <dxl:ProjElem ColId="11" Alias="ad_id">
              <dxl:Ident ColId="11" ColName="ad_id" TypeMdid="0.23.1.0"/>
            </dxl:ProjElem>
          </dxl:ProjList>
          <dxl:CTEProducer CTEId="0" Columns="19,20,21,22,23,24,25,26,27,28">
            <dxl:Properties>
              <dxl:Cost StartupCost="0" TotalCost="431.000060" Rows="1.000000" Width="1"/>
            </dxl:Properties>
            <dxl:ProjList>
              <dxl:ProjElem ColId="19" Alias="user_id">
                <dxl:Ident ColId="19" ColName="user_id" TypeMdid="0.23.1.0"/>
              </dxl:ProjElem>
              <dxl:ProjElem ColId="20" Alias="entity_id">
                <dxl:Ident ColId="20" ColName="entity_id" TypeMdid="0.23.1.0"/>
              </dxl:ProjElem>
              <dxl:ProjElem ColId="21" Alias="event_time">
                <dxl:Ident ColId="21" ColName="event_time" TypeMdid="0.1114.1.0"/>
              </dxl:ProjElem>
              <dxl:ProjElem ColId="22" Alias="ctid">
                <dxl:Ident ColId="22" ColName="ctid" TypeMdid="0.27.1.0"/>
              </dxl:ProjElem>
              <dxl:ProjElem ColId="23" Alias="xmin">
                <dxl:Ident ColId="23" ColName="xmin" TypeMdid="0.28.1.0"/>
              </dxl:ProjElem>
              <dxl:ProjElem ColId="24" Alias="cmin">
                <dxl:Ident ColId="24" ColName="cmin" TypeMdid="0.29.1.0"/>
              </dxl:ProjElem>
              <dxl:ProjElem ColId="25" Alias="xmax">
                <dxl:Ident ColId="25" ColName="xmax" TypeMdid="0.28.1.0"/>
              </dxl:ProjElem>
              <dxl:ProjElem ColId="26" Alias="cmax">
                <dxl:Ident ColId="26" ColName="cmax" TypeMdid="0.29.1.0"/>
              </dxl:ProjElem>
              <dxl:ProjElem ColId="27" Alias="tableoid">
                <dxl:Ident ColId="27" ColName="tableoid" TypeMdid="0.26.1.0"/>
              </dxl:ProjElem>
              <dxl:ProjElem ColId="28" Alias="gp_segment_id">
                <dxl:Ident ColId="28" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
              </dxl:ProjElem>
            </dxl:ProjList>
            <dxl:TableScan>
              <dxl:Properties>
                <dxl:Cost StartupCost="0" TotalCost="431.000013" Rows="1.000000" Width="50"/>
              </dxl:Properties>
              <dxl:ProjList>
                <dxl:ProjElem ColId="19" Alias="user_id">
                  <dxl:Ident ColId="19" ColName="user_id" TypeMdid="0.23.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="20" Alias="entity_id">
                  <dxl:Ident ColId="20" ColName="entity_id" TypeMdid="0.23.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="21" Alias="event_time">
                  <dxl:Ident ColId="21" ColName="event_time" TypeMdid="0.1114.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="22" Alias="ctid">
                  <dxl:Ident ColId="22" ColName="ctid" TypeMdid="0.27.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="23" Alias="xmin">
                  <dxl:Ident ColId="23" ColName="xmin" TypeMdid="0.28.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="24" Alias="cmin">
                  <dxl:Ident ColId="24" ColName="cmin" TypeMdid="0.29.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="25" Alias="xmax">
                  <dxl:Ident ColId="25" ColName="xmax" TypeMdid="0.28.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="26" Alias="cmax">
                  <dxl:Ident ColId="26" ColName="cmax" TypeMdid="0.29.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="27" Alias="tableoid">
                  <dxl:Ident ColId="27" ColName="tableoid" TypeMdid="0.26.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="28" Alias="gp_segment_id">
                  <dxl:Ident ColId="28" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
                </dxl:ProjElem>
              </dxl:ProjList>
              <dxl:Filter/>
              <dxl:TableDescriptor Mdid="6.17279045.1.1" TableName="events_inprocess">
                <dxl:Columns>
                  <dxl:Column ColId="19" Attno="1" ColName="user_id" TypeMdid="0.23.1.0"/>
                  <dxl:Column ColId="20" Attno="2" ColName="entity_id" TypeMdid="0.23.1.0"/>
                  <dxl:Column ColId="21" Attno="3" ColName="event_time" TypeMdid="0.1114.1.0"/>
                  <dxl:Column ColId="22" Attno="-1" ColName="ctid" TypeMdid="0.27.1.0"/>
                  <dxl:Column ColId="23" Attno="-3" ColName="xmin" TypeMdid="0.28.1.0"/>
                  <dxl:Column ColId="24" Attno="-4" ColName="cmin" TypeMdid="0.29.1.0"/>
                  <dxl:Column ColId="25" Attno="-5" ColName="xmax" TypeMdid="0.28.1.0"/>
                  <dxl:Column ColId="26" Attno="-6" ColName="cmax" TypeMdid="0.29.1.0"/>
                  <dxl:Column ColId="27" Attno="-7" ColName="tableoid" TypeMdid="0.26.1.0"/>
                  <dxl:Column ColId="28" Attno="-8" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
                </dxl:Columns>
              </dxl:TableDescriptor>
            </dxl:TableScan>
          </dxl:CTEProducer>
          <dxl:Sequence>
            <dxl:Properties>
              <dxl:Cost StartupCost="0" TotalCost="2155.002803" Rows="2.000000" Width="20"/>
            </dxl:Properties>
            <dxl:ProjList>
              <dxl:ProjElem ColId="0" Alias="user_id">
                <dxl:Ident ColId="0" ColName="user_id" TypeMdid="0.23.1.0"/>
              </dxl:ProjElem>
              <dxl:ProjElem ColId="2" Alias="event_time">
                <dxl:Ident ColId="2" ColName="event_time" TypeMdid="0.1114.1.0"/>
              </dxl:ProjElem>
              <dxl:ProjElem ColId="11" Alias="ad_id">
                <dxl:Ident ColId="11" ColName="ad_id" TypeMdid="0.23.1.0"/>
              </dxl:ProjElem>
            </dxl:ProjList>
            <dxl:CTEProducer CTEId="1" Columns="29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47">
              <dxl:Properties>
                <dxl:Cost StartupCost="0" TotalCost="862.002018" Rows="1.000000" Width="1"/>
              </dxl:Properties>
              <dxl:ProjList>
                <dxl:ProjElem ColId="29" Alias="user_id">
                  <dxl:Ident ColId="29" ColName="user_id" TypeMdid="0.23.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="30" Alias="entity_id">
                  <dxl:Ident ColId="30" ColName="entity_id" TypeMdid="0.23.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="31" Alias="event_time">
                  <dxl:Ident ColId="31" ColName="event_time" TypeMdid="0.1114.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="32" Alias="ctid">
                  <dxl:Ident ColId="32" ColName="ctid" TypeMdid="0.27.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="33" Alias="xmin">
                  <dxl:Ident ColId="33" ColName="xmin" TypeMdid="0.28.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="34" Alias="cmin">
                  <dxl:Ident ColId="34" ColName="cmin" TypeMdid="0.29.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="35" Alias="xmax">
                  <dxl:Ident ColId="35" ColName="xmax" TypeMdid="0.28.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="36" Alias="cmax">
                  <dxl:Ident ColId="36" ColName="cmax" TypeMdid="0.29.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="37" Alias="tableoid">
                  <dxl:Ident ColId="37" ColName="tableoid" TypeMdid="0.26.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="38" Alias="gp_segment_id">
                  <dxl:Ident ColId="38" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="39" Alias="user_id">
                  <dxl:Ident ColId="39" ColName="user_id" TypeMdid="0.23.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="40" Alias="ad_id">
                  <dxl:Ident ColId="40" ColName="ad_id" TypeMdid="0.23.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="41" Alias="ctid">
                  <dxl:Ident ColId="41" ColName="ctid" TypeMdid="0.27.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="42" Alias="xmin">
                  <dxl:Ident ColId="42" ColName="xmin" TypeMdid="0.28.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="43" Alias="cmin">
                  <dxl:Ident ColId="43" ColName="cmin" TypeMdid="0.29.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="44" Alias="xmax">
                  <dxl:Ident ColId="44" ColName="xmax" TypeMdid="0.28.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="45" Alias="cmax">
                  <dxl:Ident ColId="45" ColName="cmax" TypeMdid="0.29.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="46" Alias="tableoid">
                  <dxl:Ident ColId="46" ColName="tableoid" TypeMdid="0.26.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="47" Alias="gp_segment_id">
                  <dxl:Ident ColId="47" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
                </dxl:ProjElem>
              </dxl:ProjList>
              <dxl:HashJoin JoinType="Inner">
                <dxl:Properties>
                  <dxl:Cost StartupCost="0" TotalCost="862.002017" Rows="1.000000" Width="96"/>
                </dxl:Properties>
                <dxl:ProjList>
                  <dxl:ProjElem ColId="29" Alias="user_id">
                    <dxl:Ident ColId="29" ColName="user_id" TypeMdid="0.23.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="30" Alias="entity_id">
                    <dxl:Ident ColId="30" ColName="entity_id" TypeMdid="0.23.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="31" Alias="event_time">
                    <dxl:Ident ColId="31" ColName="event_time" TypeMdid="0.1114.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="32" Alias="ctid">
                    <dxl:Ident ColId="32" ColName="ctid" TypeMdid="0.27.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="33" Alias="xmin">
                    <dxl:Ident ColId="33" ColName="xmin" TypeMdid="0.28.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="34" Alias="cmin">
                    <dxl:Ident ColId="34" ColName="cmin" TypeMdid="0.29.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="35" Alias="xmax">
                    <dxl:Ident ColId="35" ColName="xmax" TypeMdid="0.28.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="36" Alias="cmax">
                    <dxl:Ident ColId="36" ColName="cmax" TypeMdid="0.29.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="37" Alias="tableoid">
                    <dxl:Ident ColId="37" ColName="tableoid" TypeMdid="0.26.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="38" Alias="gp_segment_id">
                    <dxl:Ident ColId="38" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="39" Alias="user_id">
                    <dxl:Ident ColId="39" ColName="user_id" TypeMdid="0.23.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="40" Alias="ad_id">
                    <dxl:Ident ColId="40" ColName="ad_id" TypeMdid="0.23.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="41" Alias="ctid">
                    <dxl:Ident ColId="41" ColName="ctid" TypeMdid="0.27.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="42" Alias="xmin">
                    <dxl:Ident ColId="42" ColName="xmin" TypeMdid="0.28.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="43" Alias="cmin">
                    <dxl:Ident ColId="43" ColName="cmin" TypeMdid="0.29.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="44" Alias="xmax">
                    <dxl:Ident ColId="44" ColName="xmax" TypeMdid="0.28.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="45" Alias="cmax">
                    <dxl:Ident ColId="45" ColName="cmax" TypeMdid="0.29.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="46" Alias="tableoid">
                    <dxl:Ident ColId="46" ColName="tableoid" TypeMdid="0.26.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="47" Alias="gp_segment_id">
                    <dxl:Ident ColId="47" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
                  </dxl:ProjElem>
                </dxl:ProjList>
                <dxl:Filter/>
                <dxl:JoinFilter/>
                <dxl:HashCondList>
                  <dxl:Comparison ComparisonOperator="=" OperatorMdid="0.96.1.0">
                    <dxl:Ident ColId="29" ColName="user_id" TypeMdid="0.23.1.0"/>
                    <dxl:Ident ColId="39" ColName="user_id" TypeMdid="0.23.1.0"/>
                  </dxl:Comparison>
                  <dxl:Comparison ComparisonOperator="=" OperatorMdid="0.96.1.0">
                    <dxl:Ident ColId="30" ColName="entity_id" TypeMdid="0.23.1.0"/>
                    <dxl:Ident ColId="40" ColName="ad_id" TypeMdid="0.23.1.0"/>
                  </dxl:Comparison>
                </dxl:HashCondList>
                <dxl:CTEConsumer CTEId="0" Columns="29,30,31,32,33,34,35,36,37,38">
                  <dxl:Properties>
                    <dxl:Cost StartupCost="0" TotalCost="431.000120" Rows="1.000000" Width="50"/>
                  </dxl:Properties>
                  <dxl:ProjList>
                    <dxl:ProjElem ColId="29" Alias="user_id">
                      <dxl:Ident ColId="29" ColName="user_id" TypeMdid="0.23.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="30" Alias="entity_id">
                      <dxl:Ident ColId="30" ColName="entity_id" TypeMdid="0.23.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="31" Alias="event_time">
                      <dxl:Ident ColId="31" ColName="event_time" TypeMdid="0.1114.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="32" Alias="ctid">
                      <dxl:Ident ColId="32" ColName="ctid" TypeMdid="0.27.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="33" Alias="xmin">
                      <dxl:Ident ColId="33" ColName="xmin" TypeMdid="0.28.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="34" Alias="cmin">
                      <dxl:Ident ColId="34" ColName="cmin" TypeMdid="0.29.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="35" Alias="xmax">
                      <dxl:Ident ColId="35" ColName="xmax" TypeMdid="0.28.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="36" Alias="cmax">
                      <dxl:Ident ColId="36" ColName="cmax" TypeMdid="0.29.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="37" Alias="tableoid">
                      <dxl:Ident ColId="37" ColName="tableoid" TypeMdid="0.26.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="38" Alias="gp_segment_id">
                      <dxl:Ident ColId="38" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
                    </dxl:ProjElem>
                  </dxl:ProjList>
                </dxl:CTEConsumer>
                <dxl:TableScan>
                  <dxl:Properties>
                    <dxl:Cost StartupCost="0" TotalCost="431.000021" Rows="1.000000" Width="46"/>
                  </dxl:Properties>
                  <dxl:ProjList>
                    <dxl:ProjElem ColId="39" Alias="user_id">
                      <dxl:Ident ColId="39" ColName="user_id" TypeMdid="0.23.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="40" Alias="ad_id">
                      <dxl:Ident ColId="40" ColName="ad_id" TypeMdid="0.23.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="41" Alias="ctid">
                      <dxl:Ident ColId="41" ColName="ctid" TypeMdid="0.27.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="42" Alias="xmin">
                      <dxl:Ident ColId="42" ColName="xmin" TypeMdid="0.28.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="43" Alias="cmin">
                      <dxl:Ident ColId="43" ColName="cmin" TypeMdid="0.29.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="44" Alias="xmax">
                      <dxl:Ident ColId="44" ColName="xmax" TypeMdid="0.28.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="45" Alias="cmax">
                      <dxl:Ident ColId="45" ColName="cmax" TypeMdid="0.29.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="46" Alias="tableoid">
                      <dxl:Ident ColId="46" ColName="tableoid" TypeMdid="0.26.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="47" Alias="gp_segment_id">
                      <dxl:Ident ColId="47" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
                    </dxl:ProjElem>
                  </dxl:ProjList>
                  <dxl:Filter/>
                  <dxl:TableDescriptor Mdid="6.17279071.1.1" TableName="impressions_raw">
                    <dxl:Columns>
                      <dxl:Column ColId="39" Attno="1" ColName="user_id" TypeMdid="0.23.1.0"/>
                      <dxl:Column ColId="40" Attno="2" ColName="ad_id" TypeMdid="0.23.1.0"/>
                      <dxl:Column ColId="41" Attno="-1" ColName="ctid" TypeMdid="0.27.1.0"/>
                      <dxl:Column ColId="42" Attno="-3" ColName="xmin" TypeMdid="0.28.1.0"/>
                      <dxl:Column ColId="43" Attno="-4" ColName="cmin" TypeMdid="0.29.1.0"/>
                      <dxl:Column ColId="44" Attno="-5" ColName="xmax" TypeMdid="0.28.1.0"/>
                      <dxl:Column ColId="45" Attno="-6" ColName="cmax" TypeMdid="0.29.1.0"/>
                      <dxl:Column ColId="46" Attno="-7" ColName="tableoid" TypeMdid="0.26.1.0"/>
                      <dxl:Column ColId="47" Attno="-8" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
                    </dxl:Columns>
                  </dxl:TableDescriptor>
                </dxl:TableScan>
              </dxl:HashJoin>
            </dxl:CTEProducer>
            <dxl:Append IsTarget="false" IsZapped="false">
              <dxl:Properties>
                <dxl:Cost StartupCost="0" TotalCost="1293.000766" Rows="2.000000" Width="20"/>
              </dxl:Properties>
              <dxl:ProjList>
                <dxl:ProjElem ColId="0" Alias="user_id">
                  <dxl:Ident ColId="0" ColName="user_id" TypeMdid="0.23.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="2" Alias="event_time">
                  <dxl:Ident ColId="2" ColName="event_time" TypeMdid="0.1114.1.0"/>
                </dxl:ProjElem>
                <dxl:ProjElem ColId="11" Alias="ad_id">
                  <dxl:Ident ColId="11" ColName="ad_id" TypeMdid="0.23.1.0"/>
                </dxl:ProjElem>
              </dxl:ProjList>
              <dxl:Filter/>
              <dxl:Result>
                <dxl:Properties>
                  <dxl:Cost StartupCost="0" TotalCost="431.000048" Rows="1.000000" Width="20"/>
                </dxl:Properties>
                <dxl:ProjList>
                  <dxl:ProjElem ColId="0" Alias="user_id">
                    <dxl:Ident ColId="0" ColName="user_id" TypeMdid="0.23.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="2" Alias="event_time">
                    <dxl:Ident ColId="2" ColName="event_time" TypeMdid="0.1114.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="11" Alias="ad_id">
                    <dxl:Ident ColId="11" ColName="ad_id" TypeMdid="0.23.1.0"/>
                  </dxl:ProjElem>
                </dxl:ProjList>
                <dxl:Filter/>
                <dxl:OneTimeFilter/>
                <dxl:CTEConsumer CTEId="1" Columns="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18">
                  <dxl:Properties>
                    <dxl:Cost StartupCost="0" TotalCost="431.000048" Rows="1.000000" Width="20"/>
                  </dxl:Properties>
                  <dxl:ProjList>
                    <dxl:ProjElem ColId="0" Alias="user_id">
                      <dxl:Ident ColId="0" ColName="user_id" TypeMdid="0.23.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="1" Alias="entity_id">
                      <dxl:Ident ColId="1" ColName="entity_id" TypeMdid="0.23.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="2" Alias="event_time">
                      <dxl:Ident ColId="2" ColName="event_time" TypeMdid="0.1114.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="3" Alias="ctid">
                      <dxl:Ident ColId="3" ColName="ctid" TypeMdid="0.27.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="4" Alias="xmin">
                      <dxl:Ident ColId="4" ColName="xmin" TypeMdid="0.28.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="5" Alias="cmin">
                      <dxl:Ident ColId="5" ColName="cmin" TypeMdid="0.29.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="6" Alias="xmax">
                      <dxl:Ident ColId="6" ColName="xmax" TypeMdid="0.28.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="7" Alias="cmax">
                      <dxl:Ident ColId="7" ColName="cmax" TypeMdid="0.29.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="8" Alias="tableoid">
                      <dxl:Ident ColId="8" ColName="tableoid" TypeMdid="0.26.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="9" Alias="gp_segment_id">
                      <dxl:Ident ColId="9" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="10" Alias="user_id">
                      <dxl:Ident ColId="10" ColName="user_id" TypeMdid="0.23.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="11" Alias="ad_id">
                      <dxl:Ident ColId="11" ColName="ad_id" TypeMdid="0.23.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="12" Alias="ctid">
                      <dxl:Ident ColId="12" ColName="ctid" TypeMdid="0.27.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="13" Alias="xmin">
                      <dxl:Ident ColId="13" ColName="xmin" TypeMdid="0.28.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="14" Alias="cmin">
                      <dxl:Ident ColId="14" ColName="cmin" TypeMdid="0.29.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="15" Alias="xmax">
                      <dxl:Ident ColId="15" ColName="xmax" TypeMdid="0.28.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="16" Alias="cmax">
                      <dxl:Ident ColId="16" ColName="cmax" TypeMdid="0.29.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="17" Alias="tableoid">
                      <dxl:Ident ColId="17" ColName="tableoid" TypeMdid="0.26.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="18" Alias="gp_segment_id">
                      <dxl:Ident ColId="18" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
                    </dxl:ProjElem>
                  </dxl:ProjList>
                </dxl:CTEConsumer>
              </dxl:Result>
              <dxl:Result>
                <dxl:Properties>
                  <dxl:Cost StartupCost="0" TotalCost="862.000697" Rows="1.000000" Width="20"/>
                </dxl:Properties>
                <dxl:ProjList>
                  <dxl:ProjElem ColId="48" Alias="user_id">
                    <dxl:Ident ColId="48" ColName="user_id" TypeMdid="0.23.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="50" Alias="event_time">
                    <dxl:Ident ColId="50" ColName="event_time" TypeMdid="0.1114.1.0"/>
                  </dxl:ProjElem>
                  <dxl:ProjElem ColId="78" Alias="ad_id">
                    <dxl:ConstValue TypeMdid="0.23.1.0" IsNull="true"/>
                  </dxl:ProjElem>
                </dxl:ProjList>
                <dxl:Filter/>
                <dxl:OneTimeFilter/>
                <dxl:HashJoin JoinType="LeftAntiSemiJoin">
                  <dxl:Properties>
                    <dxl:Cost StartupCost="0" TotalCost="862.000677" Rows="1.000000" Width="16"/>
                  </dxl:Properties>
                  <dxl:ProjList>
                    <dxl:ProjElem ColId="48" Alias="user_id">
                      <dxl:Ident ColId="48" ColName="user_id" TypeMdid="0.23.1.0"/>
                    </dxl:ProjElem>
                    <dxl:ProjElem ColId="50" Alias="event_time">
                      <dxl:Ident ColId="50" ColName="event_time" TypeMdid="0.1114.1.0"/>
                    </dxl:ProjElem>
                  </dxl:ProjList>
                  <dxl:Filter/>
                  <dxl:JoinFilter/>
                  <dxl:HashCondList>
                    <dxl:Not>
                      <dxl:IsDistinctFrom OperatorMdid="0.96.1.0">
                        <dxl:Ident ColId="48" ColName="user_id" TypeMdid="0.23.1.0"/>
                        <dxl:Ident ColId="58" ColName="user_id" TypeMdid="0.23.1.0"/>
                      </dxl:IsDistinctFrom>
                    </dxl:Not>
                    <dxl:Not>
                      <dxl:IsDistinctFrom OperatorMdid="0.96.1.0">
                        <dxl:Ident ColId="49" ColName="entity_id" TypeMdid="0.23.1.0"/>
                        <dxl:Ident ColId="59" ColName="entity_id" TypeMdid="0.23.1.0"/>
                      </dxl:IsDistinctFrom>
                    </dxl:Not>
                  </dxl:HashCondList>
                  <dxl:CTEConsumer CTEId="0" Columns="48,49,50,51,52,53,54,55,56,57">
                    <dxl:Properties>
                      <dxl:Cost StartupCost="0" TotalCost="431.000048" Rows="1.000000" Width="20"/>
                    </dxl:Properties>
                    <dxl:ProjList>
                      <dxl:ProjElem ColId="48" Alias="user_id">
                        <dxl:Ident ColId="48" ColName="user_id" TypeMdid="0.23.1.0"/>
                      </dxl:ProjElem>
                      <dxl:ProjElem ColId="49" Alias="entity_id">
                        <dxl:Ident ColId="49" ColName="entity_id" TypeMdid="0.23.1.0"/>
                      </dxl:ProjElem>
                      <dxl:ProjElem ColId="50" Alias="event_time">
                        <dxl:Ident ColId="50" ColName="event_time" TypeMdid="0.1114.1.0"/>
                      </dxl:ProjElem>
                      <dxl:ProjElem ColId="51" Alias="ctid">
                        <dxl:Ident ColId="51" ColName="ctid" TypeMdid="0.27.1.0"/>
                      </dxl:ProjElem>
                      <dxl:ProjElem ColId="52" Alias="xmin">
                        <dxl:Ident ColId="52" ColName="xmin" TypeMdid="0.28.1.0"/>
                      </dxl:ProjElem>
                      <dxl:ProjElem ColId="53" Alias="cmin">
                        <dxl:Ident ColId="53" ColName="cmin" TypeMdid="0.29.1.0"/>
                      </dxl:ProjElem>
                      <dxl:ProjElem ColId="54" Alias="xmax">
                        <dxl:Ident ColId="54" ColName="xmax" TypeMdid="0.28.1.0"/>
                      </dxl:ProjElem>
                      <dxl:ProjElem ColId="55" Alias="cmax">
                        <dxl:Ident ColId="55" ColName="cmax" TypeMdid="0.29.1.0"/>
                      </dxl:ProjElem>
                      <dxl:ProjElem ColId="56" Alias="tableoid">
                        <dxl:Ident ColId="56" ColName="tableoid" TypeMdid="0.26.1.0"/>
                      </dxl:ProjElem>
                      <dxl:ProjElem ColId="57" Alias="gp_segment_id">
                        <dxl:Ident ColId="57" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
                      </dxl:ProjElem>
                    </dxl:ProjList>
                  </dxl:CTEConsumer>
                  <dxl:Aggregate AggregationStrategy="Sorted" StreamSafe="false">
                    <dxl:Properties>
                      <dxl:Cost StartupCost="0" TotalCost="431.000023" Rows="1.000000" Width="8"/>
                    </dxl:Properties>
                    <dxl:GroupingColumns>
                      <dxl:GroupingColumn ColId="58"/>
                      <dxl:GroupingColumn ColId="59"/>
                    </dxl:GroupingColumns>
                    <dxl:ProjList>
                      <dxl:ProjElem ColId="58" Alias="user_id">
                        <dxl:Ident ColId="58" ColName="user_id" TypeMdid="0.23.1.0"/>
                      </dxl:ProjElem>
                      <dxl:ProjElem ColId="59" Alias="entity_id">
                        <dxl:Ident ColId="59" ColName="entity_id" TypeMdid="0.23.1.0"/>
                      </dxl:ProjElem>
                    </dxl:ProjList>
                    <dxl:Filter/>
                    <dxl:Sort SortDiscardDuplicates="false">
                      <dxl:Properties>
                        <dxl:Cost StartupCost="0" TotalCost="431.000014" Rows="1.000000" Width="12"/>
                      </dxl:Properties>
                      <dxl:ProjList>
                        <dxl:ProjElem ColId="58" Alias="user_id">
                          <dxl:Ident ColId="58" ColName="user_id" TypeMdid="0.23.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="59" Alias="entity_id">
                          <dxl:Ident ColId="59" ColName="entity_id" TypeMdid="0.23.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="60" Alias="event_time">
                          <dxl:Ident ColId="60" ColName="event_time" TypeMdid="0.1114.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="61" Alias="ctid">
                          <dxl:Ident ColId="61" ColName="ctid" TypeMdid="0.27.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="62" Alias="xmin">
                          <dxl:Ident ColId="62" ColName="xmin" TypeMdid="0.28.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="63" Alias="cmin">
                          <dxl:Ident ColId="63" ColName="cmin" TypeMdid="0.29.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="64" Alias="xmax">
                          <dxl:Ident ColId="64" ColName="xmax" TypeMdid="0.28.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="65" Alias="cmax">
                          <dxl:Ident ColId="65" ColName="cmax" TypeMdid="0.29.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="66" Alias="tableoid">
                          <dxl:Ident ColId="66" ColName="tableoid" TypeMdid="0.26.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="67" Alias="gp_segment_id">
                          <dxl:Ident ColId="67" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="68" Alias="user_id">
                          <dxl:Ident ColId="68" ColName="user_id" TypeMdid="0.23.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="69" Alias="ad_id">
                          <dxl:Ident ColId="69" ColName="ad_id" TypeMdid="0.23.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="70" Alias="ctid">
                          <dxl:Ident ColId="70" ColName="ctid" TypeMdid="0.27.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="71" Alias="xmin">
                          <dxl:Ident ColId="71" ColName="xmin" TypeMdid="0.28.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="72" Alias="cmin">
                          <dxl:Ident ColId="72" ColName="cmin" TypeMdid="0.29.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="73" Alias="xmax">
                          <dxl:Ident ColId="73" ColName="xmax" TypeMdid="0.28.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="74" Alias="cmax">
                          <dxl:Ident ColId="74" ColName="cmax" TypeMdid="0.29.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="75" Alias="tableoid">
                          <dxl:Ident ColId="75" ColName="tableoid" TypeMdid="0.26.1.0"/>
                        </dxl:ProjElem>
                        <dxl:ProjElem ColId="76" Alias="gp_segment_id">
                          <dxl:Ident ColId="76" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
                        </dxl:ProjElem>
                      </dxl:ProjList>
                      <dxl:Filter/>
                      <dxl:SortingColumnList>
                        <dxl:SortingColumn ColId="58" SortOperatorMdid="0.97.1.0" SortOperatorName="&lt;" SortNullsFirst="false"/>
                        <dxl:SortingColumn ColId="59" SortOperatorMdid="0.97.1.0" SortOperatorName="&lt;" SortNullsFirst="false"/>
                      </dxl:SortingColumnList>
                      <dxl:LimitCount/>
                      <dxl:LimitOffset/>
                      <dxl:CTEConsumer CTEId="1" Columns="58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76">
                        <dxl:Properties>
                          <dxl:Cost StartupCost="0" TotalCost="431.000014" Rows="1.000000" Width="12"/>
                        </dxl:Properties>
                        <dxl:ProjList>
                          <dxl:ProjElem ColId="58" Alias="user_id">
                            <dxl:Ident ColId="58" ColName="user_id" TypeMdid="0.23.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="59" Alias="entity_id">
                            <dxl:Ident ColId="59" ColName="entity_id" TypeMdid="0.23.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="60" Alias="event_time">
                            <dxl:Ident ColId="60" ColName="event_time" TypeMdid="0.1114.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="61" Alias="ctid">
                            <dxl:Ident ColId="61" ColName="ctid" TypeMdid="0.27.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="62" Alias="xmin">
                            <dxl:Ident ColId="62" ColName="xmin" TypeMdid="0.28.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="63" Alias="cmin">
                            <dxl:Ident ColId="63" ColName="cmin" TypeMdid="0.29.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="64" Alias="xmax">
                            <dxl:Ident ColId="64" ColName="xmax" TypeMdid="0.28.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="65" Alias="cmax">
                            <dxl:Ident ColId="65" ColName="cmax" TypeMdid="0.29.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="66" Alias="tableoid">
                            <dxl:Ident ColId="66" ColName="tableoid" TypeMdid="0.26.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="67" Alias="gp_segment_id">
                            <dxl:Ident ColId="67" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="68" Alias="user_id">
                            <dxl:Ident ColId="68" ColName="user_id" TypeMdid="0.23.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="69" Alias="ad_id">
                            <dxl:Ident ColId="69" ColName="ad_id" TypeMdid="0.23.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="70" Alias="ctid">
                            <dxl:Ident ColId="70" ColName="ctid" TypeMdid="0.27.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="71" Alias="xmin">
                            <dxl:Ident ColId="71" ColName="xmin" TypeMdid="0.28.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="72" Alias="cmin">
                            <dxl:Ident ColId="72" ColName="cmin" TypeMdid="0.29.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="73" Alias="xmax">
                            <dxl:Ident ColId="73" ColName="xmax" TypeMdid="0.28.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="74" Alias="cmax">
                            <dxl:Ident ColId="74" ColName="cmax" TypeMdid="0.29.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="75" Alias="tableoid">
                            <dxl:Ident ColId="75" ColName="tableoid" TypeMdid="0.26.1.0"/>
                          </dxl:ProjElem>
                          <dxl:ProjElem ColId="76" Alias="gp_segment_id">
                            <dxl:Ident ColId="76" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
                          </dxl:ProjElem>
                        </dxl:ProjList>
                      </dxl:CTEConsumer>
                    </dxl:Sort>
                  </dxl:Aggregate>
                </dxl:HashJoin>
              </dxl:Result>
            </dxl:Append>
          </dxl:Sequence>
        </dxl:Sequence>
      </dxl:GatherMotion>
    </dxl:Plan>
  </dxl:Thread>
</dxl:DXLMessage>
